<div class="nwb-button-container">
[<tag id="cmdNew" type="linkbutton" text="Add New" tooltip="Add New" resourcekey="cmdAdd"  cssclass="nwb-button primary icon add" commandname="new" commandargument="0"/>]&nbsp;
    &nbsp;
	[<tag id="ddlStatus" type="dropdownlist" datavalue="STATUS1;STATUS2;" data="Draft;Approved;All" />]
	&nbsp;
[<tag id="chkWrittenOff" type="checkbox" text="Written Off" />]&nbsp;[<tag id="chkClosed" type="checkbox" text="Closed" />]
	&nbsp;
	[<tag id="txtSearch" type="textbox" width="250" maxlength="200" tabindex="1" />]
[<tag id="cmdSearch" type="linkbutton" text="Search" tooltip="Search" resourcekey="cmdSearch" cssclass="nwb-button icon search" commandname="search"/>]
    &nbsp;Order By:&nbsp;
	[<tag id="ddlOrderBy" type="dropdownlist" datavalue="0;1;2" data="Date Desc;Ref;Name" />]
    &nbsp;
[<tag id="cmdReset" type="linkbutton" text="Reset" tooltip="Reset the Search criteria" resourcekey="cmdClear" cssclass="nwb-button" commandname="resetsearch"/>]
</div>
[<tag id="filter1" type="meta" value="genxml/textbox/txtcompanyname|genxml/textbox/txtclientname;nvarchar(50)|nvarchar(50);txtSearch|txtSearch;xmlData;%" />]
[<tag id="filter2" type="meta" value="genxml/checkbox/chkwrittenoff;nvarchar(10);chkWrittenOff;xmlData;" />]
[<tag id="filter3" type="meta" value="genxml/checkbox/chkclosed;nvarchar(10);chkClosed;xmlData;" />]
[<tag id="filter4" type="meta" value="genxml/radiobuttonlist/rblstatus;nvarchar(10);ddlStatus;xmlData;%" />]
[<tag id="orderby0" type="hidden" value="genxml/textbox/dateinvoice,genxml/textbox/txtclientname;nvarchar(50),nvarchar(50);xmlData,xmlData;DESC," />]
[<tag id="orderby1" type="hidden" value="genxml/hidden/invoiceref;nvarchar(50);xmlData;" />]
[<tag id="orderby2" type="hidden" value="genxml/textbox/txtclientname;nvarchar(50);xmlData;" />]
<br/>

